package com.tea.room.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.tea.room.model.Return;
import com.tea.room.service.tea.OperationService;

/**
 * 手动运维controller
 * @ClassName:OperationController   
 * @Description:TODO()   
 * @date:2019年7月21日 下午3:07:00 
 * @author ShiP
 */
@RestController("operationController")
public class OperationController {

    @Autowired
    private OperationService operationService;
    
    /**
     * 添加美团订单
     * @param request
     * @param response
     * @return
     */
    @RequestMapping("/addMTOrder")
    public Return queryLockBattery(HttpServletRequest request, HttpServletResponse response){
        Return rn = operationService.addMtOrder(request);
        return rn;
    }
    
}
